﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gear.Web.Api.Entities.Entity
{
    /// <summary>
    /// 数据库连接池配置
    /// </summary>
    public class Sys_connectionpool : EtyBase
    {
        /// <summary>
        /// 系统ID
        /// </summary>
        public int? SystemId { get; set; }
        /// <summary>
        /// 连接池名称
        /// </summary>
        public string ConnectionName { get; set; }
        /// <summary>
        /// 连接池编号
        /// </summary>
        public string ConnectionCode { get; set; }
        /// <summary>
        /// 数据库类型 ：对应SqlSugar.DbType
        //{
        //    MySql,
        //    SqlServer,
        //    Sqlite,
        //    Oracle,
        //    PostgreSQL,
        //    Dm,
        //    Kdbndp,
        //    Oscar
        //}
        /// </summary>
        public int DBType { get; set; }
        /// <summary>
        /// 连接池字符串
        /// </summary>
        public string ConnectionString { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Describe { get; set; }
    }
}
